<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta name="layout" content="main" />
	<title>Categorias</title>
</head>
<body>
	<h1>Categorias</h1>
		
	<g:form>
		<ul>
			<g:each in="${categoriaInstanceList}" status="i" var="categoria">
				<p><label for="cat-${i}">${categoria.nome}</label><g:checkBox id="cat-${i}" name="categoria" checked="false" value="${categoria.id}" /></p>
			</g:each>
		</ul>
		
		<g:actionSubmit action="delete" value="Excluir"	onclick="return confirm('Tem certeza?');" />
	</g:form>
</body>
</html>